package com.niodata.dp.core.usermgr.model;

import java.util.Date;

public class TokenInfo {

  private Long userId;
  private String token;
  private Date createTime;
  private Date expireTime;
  private Date refreshTime;
  private boolean active;
  private String services;//service1,service2
  //bind ip list,seprated by ,
  private String bindIp;

  public String getToken() {
    return token;
  }

  public void setToken(String token) {
    this.token = token;
  }

  public Date getRefreshTime() {
    return refreshTime;
  }

  public void setRefreshTime(Date refreshTime) {
    this.refreshTime = refreshTime;
  }

  public String getBindIp() {
    return bindIp;
  }

  public void setBindIp(String bindIp) {
    this.bindIp = bindIp;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Date getExpireTime() {
    return expireTime;
  }

  public void setExpireTime(Date expireTime) {
    this.expireTime = expireTime;
  }

  public boolean isActive() {
    return active;
  }

  public void setActive(boolean active) {
    this.active = active;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getServices() {
    return services;
  }

  public void setServices(String services) {
    this.services = services;
  }
}
